fn main() {
    let ip1 = IpAddr::IPV4(192, 168, 1, 139);
    println!("{:?}", ip1);

    let ip2 = IpAddr::IPV6(String::from(":::1"));
    println!("{:?}", ip2);

    let c = Some('c');
    println!("{:?}", c);

    let e = Some(190);
    println!("{:?}", e);

    match e {
        Some(x1)=>println!("Value is {}", x1),
        None=>println!("None Found...")
    }

    let absent:Option<i32> = None;
    println!("{:?}", absent);

    let x = 90;
    println!("{}", x);

}

#[derive(Debug)]
enum IpAddr{
    IPV4(u8, u8, u8, u8),
    IPV6(String)
}
